<?php


namespace app\admin\controller;


class Specs extends AdminBase
{

    /**
     * 选择属性
     * @return \think\response\View
     */
    public function dialog () {
        //获取规则
        $data = (new \app\common\model\mysql\Specs())->select()->toArray();
        return view('', [
            'data' => json_encode($data)
        ]);
    }
}